class Person:
    address = "北京"
    def __init__(self,name):
        self.name = name

    # 类方法
    @classmethod
    def modify_adder(cls,address):
        cls.address = address

    # 静态方法
    @staticmethod
    def fn():
        print("武汉天气比较热")

# todo 调用静态方法的方式:
Person.fn()

# 对象调用
person = Person("张三")
person.fn()

# 类方法: @classmethod 静态方法:@staticmethod